#ifndef _PARA_TRAVERSE_TASK_H_
#define _PARA_TRAVERSE_TASK_H_

#include <stdint.h>
#include "camera_config.h"
#include "sensor_common.h"

#define PARA_TRAVERSE_MODULE       "para_traverse_task"

#define PARA_TRAV
#define PARA_TRAV_DEBUG
#define TRAVERSE_END 0x5a

typedef struct _traverse_para_t {
    regval_list ir;
    regval_list spk;
    regval_list ov9282[3];
    regval_list ov9282_strobe[4];
    uint32_t exp_start;
    uint32_t exp_end;
    uint32_t gain_start;
    uint32_t gain_end;
} traverse_para_t;

extern traverse_para_t traverse_para; 
extern aos_sem_t para_traverse_sem;
extern aos_sem_t para_traverse_ready_sem;
extern aos_sem_t para_traverse_complete_sem;

void para_traverse_task_init(void);
void print_traverse_para(void);
void pack_trav_para_list(uint8_t *buf);
void set_trav_para_list_invalid();
void para_traverse_task_destroy(void);



#endif